package com.jiadakeji.ppm.modules.invoice.entity;

import javax.xml.bind.annotation.*;

/**
 * 发票开具
 */

@XmlAccessorType(XmlAccessType.FIELD)       //定义javabean的字段全部序列化
@XmlRootElement(name = "business")      //根元素名称
public class FillingInvoice {
    @XmlAttribute           //定义xml未属性
    private String id = "10008";        //交易编号
    @XmlAttribute
    private String comment = "发票开具";        //交易描述
    @XmlElement(name = "body")          //定义xml元素
    private Content content;        //交易主体（business）


    public String getId() {
        return id;
    }

    public void setId(String id) {
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
    }

    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }
}
